package com.aorise.model.halt;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @Author:cat
 * @Desicription: 停机评论新增入参实体类
 * @Date:Created in 2019-06-11
 * @Modified By:
 */
@Data
@ApiModel
public class HaltCommentAddVO {

    @ApiModelProperty (value = "主键")
    private Integer id;

    @ApiModelProperty (value = "停机记录ID")
    @NotNull(message = "停机记录ID不能为空")
    private Integer haltId;

    @ApiModelProperty (value = "用户ID")
    @NotNull(message = "用户ID不能为空")
    private Integer userId;

    @ApiModelProperty (value = "内容")
    @NotNull(message = "内容不能为空")
    private String content;

    @Override
    public String toString() {
        return "HaltCommentAddVO{" +
                ", id='" + id + '\'' +
                ", haltId='" + haltId + '\'' +
                ", userId='" + userId + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
